<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">
    </script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <link rel="stylesheet" href="">
    <script src=""></script>
    <style>
        #box {
            width: 61.2rem;
            height: 108.6rem;
            background-color: bisque;
            font-size: 3.5rem;
        }

        * {
            margin: 0;
            padding: 0;
            border: 0;
        }

        h1 {
            position: fixed;
            left: 35%;
            font-size: 4.5rem;
            top: 1rem;
        }

        .form-control {
            font-size: 2.8rem;
            margin: 1rem;
        }

        form {
            position: absolute;
            top: 20rem;
            left: 5rem;
        }

        .btn,
        btn-primary {
            font-size: 2.9rem;
            margin-left: 12rem;
            border-radius: 100px;
            width: 20rem;
            margin-top: 10rem;
        }
        .fanhui{
            margin-left: 5rem;
        }
    </style>
</head>

<body>
    <div id="app">

    </div>
    <div id="box">
            <a href="y" class="fanhui">返回</a>
        <div id="head">
            <div class="tittle">
                <h1>预约挂号</h1>
            </div>
        </div>
        <div id="content ">
            <form class="form-inline" method="get" action="./ysave1">
                <label>
                    姓名: <input type="text" class="form-control" name="name"></label><br>
                <label>
                    类型: <input type="text" class="form-control" name="type"></label><br>
                <label>
                    班级: <input type="text" class="form-control" name="classes"></label><br>
                <label>
                    预约时间 :
                    <input type="date" class="form-control" name="data"></label>
                <br>
                <input name="" id="" class="btn btn-primary" type="submit" value="预约" onclick="fun()">
                
            </form>


        </div>
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {},
            methods: {}
        });
        function fun(){
        	alert("预约成功！")
        }
    </script>
</body>

</html>